package com.lp.biz.member.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import static com.lp.common.constant.CommonConstant.DATE_TIME;
import static com.lp.common.constant.CommonConstant.TIMEZONE;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-06-20 23:39:33
 */
@Data
public class MemberDetail {

    private Integer memberId;

    private String icon;

    private String nickName;

    private String realName;

    private String phone;

    private Integer isPension;

    private String unitName;

    private String address;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE_TIME)
    private LocalDateTime registerAt;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE_TIME)
    private LocalDateTime lastLoginTime;

    private List<String> identityList = new ArrayList<>();

    private String name;

    private String cardNo;

    private String bank;

    private String idCard;

    private String bankPhone;

    private BigDecimal amountWithdrawal;

    private BigDecimal monthWithdrawal;

    private BigDecimal balance;

    private BigDecimal commissionRate;

    private int orderNum;

    private BigDecimal totalAmount = BigDecimal.ZERO;

    @JsonFormat(timezone = TIMEZONE, pattern = DATE_TIME)
    private LocalDateTime lastPayAt;

    private int todayStudyTime;

    private int totalStudyTime;

    private int totalClass;

    private int doneClass;

    private Integer isBlacklist;
}
